<div id="goodsSelectDialogContent" class="goodsSelectDialogContent">
  <div ms-controller="goodsSelectDialog" class="goodsSelect">
    <form class="form-inline search" ms-submit="@handleSubmit">
      <div class="form-group">
        <label for="searchInputForGoods" ms-text="@isGYKS?'拼音/代码/名称：':'代码/拼音码/名称/规格：'"></label>
        <input type="text" id="searchInputForGoods" class="form-control" maxlength="25" ms-duplex="@searchInput" data-duplex-changed="@handleInputSearch"
          ms-keydown="@handleKeydown" />
      </div>
      <div class="form-group" ms-if="!@isGYKS">
        <div class="radio" id="liutong">
          <label><input value="0"
                                  type="radio"
                                  name="type"
                                  ms-duplex="@type"></label>流通
        </div>
        <div class="radio" id="buliutong">
          <label><input value="1"
                                  type="radio"
                                  name="type"
                                  ms-duplex="@type"
                                  ms-attr="{disabled:@disabledNoValidate}"></label>不流通
        </div>
      </div>

      <div class="btn-group">
        <button type="button" ms-click="@sureGoods" class="btn btn-primary">确定</button>
        <button type="button" ms-click="@hideDialog" class="btn btn-primary">取消</button>
      </div>
      <div class="clear"></div>
    </form>
    <div class="re-fresh-icon" ms-visible="@showFreshIcon" ms-attr="{id:@freshIconId}"></div>
    <div style="height: 410px;margin-bottom: 20px;border-bottom: 1px solid #D1D5DE">
      <xmp ms-widget="{is:'ms-tableFixed',id:@tableComponentsID[0],header:@header,row:@row,data:@goods,parentHandleClickFun:@handleClick,chooseDataFun:@chooseDataFun,height:'410',showClickClass:true,showOperation:true,operateHtml:@viewImgOperate,operateWidth:90,operateCustomEvent:@operateCustomEvent,elementID:'goods-select'}"></xmp>
    </div>
    <!-- 分页插件 -->
    <div id="goodpage"></div>
    <div class="clear"></div>
    <div class="detailed-info">
      <div class="goods-info">
        <span ms-text="!@isGYKS?'物品名词：':'包名称：'"></span><span ms-text="@goodsName"></span>
        <span ms-text="!@isGYKS?'库存数：':'正式库存数量：'"></span><span ms-text="@goodsCount" class="red"></span>
        <span ms-text="!@isGYKS?'最新进货时间：':'收污库存数量：'"></span><span ms-text="@goodsMaxBatch"></span>
      </div>
      <div class="footer">
        <span class="result">查询结果：<span ms-text="@count"></span>条</span>
        <div class="color-desc" ms-if="!@isGYKS">
          <span>颜色说明：</span>
          <ul>
            <li><img src="img/index/u431.png" /><span>流通物品</span></li>
            <li><img src="img/index/u441.png" /><span>一进一出物品</span></li>
            <li><img src="img/index/u453.png" /><span>不流通物品</span></li>
          </ul>
        </div>
        <div class="clear"></div>
      </div>
    </div>
  </div>
</div>